package com.yl.danmo.domain;


import com.yl.common.core.annotation.Excel;
import com.yl.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 书法家职位对象 danmo_information_calligrapher_position
 * 
 * @author yl
 * @date 2025-04-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoInformationCalligrapherPosition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 书法家职位记录的唯一标识符（主键）。 */
    private Long calligrapherPositionId;

    /** 关联到书法家表的外键。 */
    @Excel(name = "关联到书法家表的外键。")
    private Long informationId;

    /** 关联到职位表的外键 */
    @Excel(name = "关联到职位表的外键")
    private Long positionId;

    /** 协会选择 */
    @Excel(name = "协会选择")
    private Long association;

    /** 艺术家类型 */
    @Excel(name = "艺术家类型")
    private Long associationType;

    /** 证书 */
    @Excel(name = "证书")
    private String certificate;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificateNumber;

    /** 第几届 */
    @Excel(name = "第几届")
    private Long several;

    /** 年份 */
    @Excel(name = "年份")
    private String year;

    /** 职位（1 会员 2 理事 ） */
    @Excel(name = "职位", readConverterExp = "1=,会=员,2=,理=事")
    private Long positions;

    /** 小团体 */
    @Excel(name = "小团体")
    private Long massId;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("calligrapherPositionId", getCalligrapherPositionId())
            .append("informationId", getInformationId())
            .append("positionId", getPositionId())
            .append("association", getAssociation())
            .append("associationType", getAssociationType())
            .append("certificate", getCertificate())
            .append("certificateNumber", getCertificateNumber())
            .append("several", getSeveral())
            .append("year", getYear())
            .append("positions", getPositions())
            .append("massId", getMassId())
            .toString();
    }
}
